package luweiteng.demoForLogin.mapper;

import luweiteng.demoForLogin.entity.TestUser;
import org.apache.ibatis.annotations.Param;

public interface TestUserMapper {
    int deleteByPrimaryKey(Long id);

    int insert(TestUser record);

    int insertSelective(TestUser record);

    TestUser selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(TestUser record);

    int updateByPrimaryKey(TestUser record);

    TestUser getUserInfo(@Param("query") TestUser user);

    TestUser getUserInfoByUserName(String userName);
}